func stringToDate(_ dateString: String) -> Date? {
    // conversion logic here...
}

func pointForGridPosition(column: Int, row: Int) -> CGPoint {
    // calculation logic here...
}

func delayedAction(afterSeconds seconds: TimeInterval, _ actionBlock: () -> Void) -> (() -> Void)? {
    // timer setup and return wrapped block if necessary...
}